#ifndef IA_H
#define IA_H
#include "PlayerControl.h"
#include "../Control/Controller.h"
#include <string>
using namespace Control;
namespace View{

	class IA: public PlayerControl
	{

	private:
		IA(void);
		static IA* mySelf;
	public:
		/**
		@return a pointer to the unique instance of the class
		*/
		static IA* getInstance();
		/**
		@inherited
		*/
		void addControledColor(int idPlayer);
		/**
		@inherited
		*/
		void gameRefreshed();
		/**
		@inherited
		*/
		void toPlay(int idPlayer);
		/**
		@inherited
		*/
		void playerStateChanged();
		/**
		@inherited
		*/
		virtual void refreshAll();

		/**
		@inherited
		*/
		virtual void gameStatusChanged();

		/**
		@inherited
		*/
		virtual void endGame(int idPlayer);
		~IA(void);
	};
}
#else

namespace View{
	class IA;
}

#endif